#!/usr/bin/env python
#-*-coding: utf-8-*-
# by: Renegado
x = int(input("Input-> "))
y = int(input("Output-> "))
n = raw_input("Name: ")
with open(n, "w") as wl:
  for o in range(x, y+1):
    wl.write(str(o))
    wl.write("\n")
    print "Escrevendo número [%d] aguarde..." %o
print "OK!"
